<ui:composition
 xmlns="http://www.w3.org/1999/xhtml"
 xmlns:ui="http://java.sun.com/jsf/facelets"
 xmlns:f="http://java.sun.com/jsf/core"
 xmlns:h="http://java.sun.com/jsf/html"
 xmlns:rich="http://richfaces.org/rich">
	 <h:outputStylesheet library="css" name="style.css" /> 
	
	 <rich:dataTable value="#{boutiqueBacking.list}" var="category" styleClass="dataTable" rowClasses="row2" >
		<rich:column>
		<f:facet name="header">Categorie</f:facet>
			<h:commandLink action="#{boutiqueBacking.selectCategory(category.id)}" immediate="true">
		    	<h:outputText value="#{category.title}"/>
		   </h:commandLink>
		</rich:column>
	</rich:dataTable>

</ui:composition>